<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      a {
        display: block;
        width: 178.6px;
        height: 110.5px;
        background-image: url('./picture/10.webp');
      }
      a:hover {
        background-position: -178.6px 0;
      }
      a:active {
        background-position: 0 110.5px;
      }
      /* 
        解决图片闪烁的问题
          将多个小图存在一张大图中，通过background-position来显示相应的图片
      */
    </style>
  </head>
  <body>
    <a href="javascript:;"></a>
  </body>
</html>
